body
{
    font-family: arial, helvetica, sans-serif;
    font-size: 13px;
}

table
{
    border-collapse: collapse; 
}

table td,
table th
{
    padding: 0; 
}

ul
{
    padding: 0px;
    margin: 0px;
}

a
{
    color: #3B718B;         
}

a:hover,
.sidebar-menu ul a:hover
{
    text-decoration: none;
    color: #dd0a0a;
}

#layout
{
    width: 1000px;
    margin: 0 auto; 
    text-align: left;
    margin-top: 40px;
    margin-bottom: 40px;
    
/*    border: 1px solid black;*/
}

/* Gray background */
body,
#layout
{
    background-color: #ddd;
}

#layout-header-box
{
    width: 100%;
    
/*    border: 1px solid brown;*/
}

#layout-sidebar
{
    width: 230px;
    vertical-align: top;
    
/*    border: 1px solid brown;*/
}

#layout-sidebar,
#layout-search
{
    padding-left: 10px;
}

#layout-content div{
    text-align: justify;
/*    background-color: #f5f2f2;*/
}

#layout-content
{
    padding-right: 10px;
    vertical-align: top;
    min-width: 300px;
}

#layout-content,
#layout-sidebar
{
    padding-top: 30px;
}

#layout-middle
{
    padding: 20px 20px 20px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: white;
}

#layout-header
{
    padding: 20px 20px 17px 20px;
/*    padding: 10px;*/
}

#header-avatar,
#header-avatar-box
{
    width: 80px;
    height: 80px;
}

#header-caption-box
{
    padding-left: 40px;
}

#header-caption
{
    font-size: 2em;
    font-weight: bold;
}

#header-subcaption
{
    font-size: 1.2em;
    margin-top: 0.5em;
}

#layout-footer
{
    text-align: center;
    height: 40px;
    line-height: 40px;
    
/*    border: 1px solid brown;*/
}

#layout-header,
#layout-footer
{
    background-color: #CBC793;
}

#layout-header,
#layout-footer,
#layout-middle
{
    border-radius:6px;
    -webkit-border-radius:6px;
    -moz-border-radius:6px;
    -khtml-border-radius:6px;
}

#layout-header,
#layout-footer,
#layout-middle
{
    border: 1px solid #c8c8c8;
}

#layout-middle-box
{
    border-top: 1px solid #c8c8c8;
    
/*    border: 1px solid red; */
}

#layout-topbar-menu
{
    font-size: 1.4em;
    margin-left: 1em;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    
    
/*    border: 1px solid gray;*/
}

#layout-topbar-menu li
{
    float: left;
    list-style: none;
    margin-right: 1em;
    padding-right: 1em;
    border-right: 1px solid #c8c8c8;
	
/*  border: 1px solid red; */
}

#layout-topbar-menu li:last-child
{
    border-right: none;
}

/* Gray lines */
#layout-topbar,
#layout-search
{
    border-bottom: 1px solid #c8c8c8;
}

#layout-search form input
{
    margin: 0px;
    padding: 0px;
}

#search-button-box
{
    padding-left: 5px;
}

.sidebar-menu
{
    padding: 10px 13px;
    background-color: #F0F0E7;
/*    background-color: #E8E8DB;*/
    margin-bottom: 20px;
/*    border: 1px solid #c8c8c8;*/
    border-top: 6px solid #c8c8c8;
    
/*    border: 1px solid brown;*/
}

.sidebar-menu:last-child
{
    margin-bottom: 0;
}

.sidebar-menu ul
{
    display: block;
    list-style: none;
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
        
/*    border: 1px solid blue;*/
}

.sidebar-menu ul li
{
    margin-bottom: 10px;
}

.sidebar-menu ul li:last-child
{
    margin-bottom: 0;    
}

.sidebar-menu-header
{
    font-size: 1.2em;
    
/*    border: 1px solid brown;*/
}

.sidebar-menu-footer
{
    text-align: right;

/*    border: 1px solid brown;    */
}

.sidebar-menu ul a,
.sidebar-menu-footer
{
    color: #585858;
}

.sidebar-menu .selected-item
{
    list-style: disc inside;
}

